package com.waypolice.manager.service;

import java.util.List;
import java.util.Map;
import com.waypolice.pojo.UpmsUser;

/**
 * 警员信息接口
 *
 * @author wr
 */
public interface UserService {
    /**
     * 根据用户名查询用户
     * @param username
     * @return List<User>
     */
    public List<UpmsUser> findByName(String username);
    /**
     * 查询所有用户
     * @return EasyUiDataGridResult
     */
    List<Map<String, Object>> findAllUser();

    /**
     * @author:zyp
     * @description 根据userId获取upmsUser对象
     * @date: 2019/3/12 11:51
     * @return 
     */
    UpmsUser selectUpmsUserByUserId(Long userId);

}
